package com.muyu.danmo.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 个人信息作品图片集对象 danmo_personal_pictures
 *
 * @author yangle
 * @date 2024-09-21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class DanmoPersonalPictures extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片id */
    private Long id;

    /** 个人信息id */
    @Excel(name = "个人信息id")
    private Long informationId;

    /** 图片 */
    @Excel(name = "图片")
    private String picture;

    @TableField(exist = false)
private DanmoInformationCopy1 danmoInformationCopy1List;
    @TableField(exist = false)
    private Integer pageNum = 1;
    @TableField(exist = false)
    private Integer pageSize = 10;
//    public void setId(Long id)
//    {
//        this.id = id;
//    }
//
//    public Long getId()
//    {
//        return id;
//    }
//    public void setPortfolioId(Long portfolioId)
//    {
//        this.portfolioId = portfolioId;
//    }
//
//    public Long getPortfolioId()
//    {
//        return portfolioId;
//    }
//    public void setPicture(String picture)
//    {
//        this.picture = picture;
//    }
//
//    public String getPicture()
//    {
//        return picture;
//    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("informationId", getInformationId())
            .append("picture", getPicture())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
